window.onload = function(){
    function $(id){return document.getElementById(id)};
    $("two").onmousemove = function(){
        $("ban-one").style.opacity = "0";
        $("ban-two").style.opacity = "1";
        $("one").style.backgroundColor = "#666";
        $("one").style.border = "none";
        $("two").style.border = "1px solid red";
        $("two").style.background = "none";
    }
    $("one").onmousemove = function(){
        $("ban-one").style.opacity = "1";
        $("ban-two").style.opacity = "0";
        $("two").style.backgroundColor = "#666"; 
        $("two").style.border = "none"; 
        $("one").style.border = "1px solid red";
        $("one").style.background = "none";
    }

}